package com.spring.cold.service;

import com.spring.cold.mapper.UserRoleMapper;
import com.spring.cold.pojo.UserRole;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author jy
 * @date 2020-10-10
 */
@Service
public class UserRoleService extends BaseService<UserRoleMapper, UserRole> {

    public List<UserRole> selectByUserId(String userId){
        return mapper.selectByUserId(userId);
    }
}
